import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
console.log(111);
import API from "./common/api.js"
import http from "./common/http.js"
Vue.prototype.$api=API //全局引用api.js
Vue.prototype.http=http //全局引用http.js

const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif